#ifdef TIXML_USE_TICPP

#pragma once
#include "dllmain.h"
#include "fuString.h"
#include "_ticpp/ticpp.h"

BEGIN_NAMESPACE_CPPX

class fuXmlSvnLogEntry : public ticpp::Visitor
{
public:
	fuString m_revision,
			 m_author,
			 m_date,
			 m_msg;
public:
	fuXmlSvnLogEntry(const fuString & revision);
	virtual ~fuXmlSvnLogEntry(void);

	virtual bool VisitEnter( const ticpp::Element& element, const ticpp::Attribute* firstAttribute );
};

class _CPPX_API fuXmlSvnLogs : public ticpp::Visitor
{
    ticpp::Document m_doc;

public:
	std::vector<fuXmlSvnLogEntry *> Logs;

public:
	fuXmlSvnLogs(void);
	virtual ~fuXmlSvnLogs(void);

	void Release(void);
	bool Parse(const fuString & src);

	virtual bool VisitEnter( const ticpp::Element& element, const ticpp::Attribute* firstAttribute );
};

END_NAMESPACE_CPPX

#endif